home *** CD-ROM | disk | FTP | other *** search
- WPMERGE.TXT
-
- This file is a VERY brief description of the WPMERGE printer drivers and
- demo program in the dUFLP library. Most of this comes from the program
- header for WPMRGDEM.PRG, written by Kenneth Chan.
-
- *-- There are two drivers, WPMERGE.PR2 and WPMERGEB.PR2,
- *-- the only difference being that WPMERGEB has more
- *-- aggressive bold support. Both "B" and "U" STYLEs
- *-- for ?/?? work -- the resulting WP text will be bolded
- *-- and/or underlined.
- *--
- *-- The problem is that dBASE does not turn off bolding
- *-- unless it knows the next expression is not bold. If
- *-- the last (or only) expression in a field is bold, the
- *-- ending bold code ([bold] for the Reveal Codes-literate)
- *-- does not appear until the beginning of the next field.
- *-- This can cause rampant bolding in the resulting merged
- *-- document.
- *--
- *-- WPMERGEB "fixes" this by including [Bold][bold] codes
- *-- at the end of every field. When the generated file is
- *-- converted by WordPerfect, it causes the bold to end at
- *-- the end of the field, and eliminates the [bold] at the
- *-- beginning of the next field. Unfortunately, if the
- *-- last expression does not have a bold, there will be a
- *-- [Bold][bold] at the end of the field. This has no ill
- *-- effect, other than to uglify your WordPerfect document.
- *-- You can use a global search and replace to remove them,
- *-- but....
- *--
- *-- If you're not generating a merge file with bold in it
- *-- (and it's not clear why you'd want to do it in the
- *-- first place), use the WPMERGE.PR2 driver instead; it
- *-- does not have the extra bold codes.
-
-
- To run the demo, copy the appropriate files (WPM*.*) into a
- directory. Start up dBASE (get to the DOT prompt), and type:
-
- DO WPMRGDEM
-
- When done, you should have a file named: MAIL.LST
-
- QUIT dBASE
-
- Start WordPerfect, and point it to the same directory. Issue the
- commands to merge. Your primary merge document is: WPMRGDEM.WPD
- Your secondary is: MAIL.LST
-
- This should work fine with WordPerfect versions from 5.1 up.
-
-